﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp19
{
    class Cirecle : Point,IDraw
    {
        public int radius;
        public Cirecle(int x, int y, int r) : base(x, y)
        {
            this.radius = r;
        }
        public int Radius
        {
            get { return this.radius; }
            set { this.radius = value;}

       }

        public void Draw()
        {
            Console.WriteLine("画一个坐标原点为{0}和{1}，半径为{2}厘米的圆",this.pointx,this.pointy,this.radius);
        }
    }
}

